package org.rcloud.io.mapper;

import org.rcloud.io.model.Blind_date;
import org.rcloud.io.model.Endorsement;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface Blind_dateMapper {
    int deleteByPrimaryKey(String id);

    int insert(Blind_date record);

    int insertSelective(Blind_date record);

    List<Blind_date> selectByPrimaryKey(Blind_date id);
//    Blind_date selectEndorsement(Endorsement id);

    int updateByPrimaryKeySelective(Blind_date record);

    int updateByPrimaryKey(Blind_date record);

    List<Blind_date> selectByBlind_date(Map map);

    Blind_date selectByKey(Blind_date record);

    List<Blind_date> selectAll();

    Integer selectBytime(String createtime);

    Integer selectByNamedq(String createtime);

    int selectByNamews(String createtime);

    int selectByNamexd(String createtime);

    int selectByNamexk(String createtime);

    List<Blind_date> selectAllDQ();

    List<Blind_date> selectAllWS();

    List<Blind_date> selectAllXD();

    List<Blind_date> selectAllXK();

    int addMapping(Blind_date blindDate);

    /*int delMapping(Blind_date blindDate);*/

    List<Blind_date> selectNo();

    List<Blind_date> selectYes();

    List<Blind_date> selectLikeEnname(String enname);
}